projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
deebb0e
)
(Revert Buffer): Condition on buffer-file-number.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 23 Feb 2003 15:17:29 +0000
(15:17 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 23 Feb 2003 15:17:29 +0000
(15:17 +0000)
lisp/menu-bar.el
patch
|
blob
|
history
diff --git
a/lisp/menu-bar.el
b/lisp/menu-bar.el
index 3c93983b939b3fd70edd0354207a74b7bd498bbe..2c0dbd6e2536bfd7d75d1b444e1cdf85d28bb32f 100644
(file)
--- a/
lisp/menu-bar.el
+++ b/
lisp/menu-bar.el
@@
-152,7
+152,7
@@
A large number or nil slows down menu responsiveness."
'(menu-item "Revert Buffer" revert-buffer
:enable (or revert-buffer-function
revert-buffer-insert-file-contents-function
- (and
(buffer-file-name)
+ (and
buffer-file-number
(or (buffer-modified-p)
(not (verify-visited-file-modtime
(current-buffer))))))